package crontab

import (
	"context"
	"fmt"
	"github.com/urfave/cli/v2"
	"time"
	"wx-uniapp-go/third_party/cdslog"
)

var (
	CmdName = ""
)

func CronInit() {
	fmt.Printf("start:[%s] %s \n", time.Now().String())
}

type crontabFunc func(*cli.Context)

var FuncMap = map[string]crontabFunc{
	//
	"Demo": Demo,
}

func sysContext() context.Context {
	ctx := cdslog.TraceCtx(context.Background(), "aaaaa")
	return ctx
}
